C1.WPF.DataGrid Namespace > C1DataGrid Class > SortBy Method : SortBy(KeyValuePair<DataGridColumn,DataGridSortDirection>[]) Method |
'Declaration
Public Overloads Sub SortBy( _ ByVal ParamArray columns() As System.Collections.Generic.KeyValuePair(Of DataGridColumn,DataGridSortDirection) _ )
public void SortBy( params System.Collections.Generic.KeyValuePair<DataGridColumn,DataGridSortDirection>[] columns )
Exception | Description |
---|---|
DataGridSortException | This exception is raised whether the collection view is not ready to execute a sort operation. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2